package com.yuyou.fn.educational.service;

import com.github.wens.framework.service.ISuperService;
import com.yuyou.fn.educational.entity.Period;
import com.yuyou.fn.educational.entity.PeriodGradeDate;
import com.yuyou.fn.educational.vo.PeriodGradeDateSaveVo;

import java.util.List;

/**
 *
 * PeriodGradeDate 表数据服务层接口
 *
 */
public interface IPeriodGradeDateService extends ISuperService<PeriodGradeDate,Long> {

    void delteByPeriodId(Long periodId);

    List<PeriodGradeDate> findByPeriodId(Long periodId);

    List<PeriodGradeDate> findByPeriodsGradeIds(List<Long> periodIds,List<Long> gradeIds);

    void saveOrUpdate(Long periodId,List<PeriodGradeDateSaveVo> periodGradeDateSaveVos);

    List<PeriodGradeDate> findByPeriods(List<Long> periodIds);

    PeriodGradeDate findByPeriodIdGradeId(long periodId,long gradeId);
}